﻿<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,inital-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no, email=no" />
<title>AG198澳新跨境</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.mobile.min.js"></script>
<script language="javascript" type="text/javascript" src="js/base.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.lazyload.js"></script>
</head>

<body>
<div class="wrap clearfix">
<header class="header bgf">
<div class="name">设置交易密码</div>
<span class="back" id="back"><i class="icon-back icon"></i></span>
</header>
<div class="clear"></div>
<!-- header end -->

<ul class="form-list f-list-mt10 clearfix">
<li class="item f-list-pl4">
<span class="name">手机号码</span>
<input type="text" class="txt" value="" placeholder="请填写手机号码">
<button class="btn bred getyzm" id="getyzm">获取验证码</button>
</li>
<li class="item f-list-pl4 clearfix">
<span class="name">验<em class="spacep"></em>证<em class="spacep"></em>码</span>
<input type="text" class="txt" value="" placeholder="请输入短信验证码">
</li>
<li class="item f-list-pl4 clearfix">
<span class="name">支付密码</span>
<input type="text" class="txt" value="" placeholder="请输入支付密码">
</li>
</ul>
<div class="exit-opn"><button class="btn Large">提交</button></div>
<!-- footer begin -->
<div class="clear"></div>
<nav class="bot-nav">
<a href="business.html" class="tab"><i class="icon-home icon"></i><p>首页</p></a>
<a href="business-myshop.html" class="tab"><i class="icon-wddp icon"></i><p>我的店铺</p></a>
<a href="business-myincome.html" class="tab active"><i class="icon-wdsr icon"></i><p>我的收入</p></a>
<a href="business-order.html" class="tab"><i class="icon-ddgl icon"></i><p>订单管理</p></a>
</nav>
</div>
<script language="javascript" type="text/javascript">
var times=60,cuttime;
function getyzm(idn){
	times--;
	if(times>0&&times<60){
	$(idn).text(times+"秒后重新获取");
	$(idn).addClass("fail");
	cuttime=setTimeout(function(){getyzm(idn)},1000);
	}
	else{
		$(idn).text("获取短信验证码");
		times=60;
		$(idn).removeClass("fail");
		clearTimeout(cuttime);
		}
	}

$(function(){
$("#getyzm").bind("click",function(){
		if(times==60){
		getyzm("#getyzm");
		}
		return false;
		});
});
</script>
</body>
</html>
